<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作业3-布局</title>
    <style>
        .box{
            width: 100px;
            height: 100px;
            border: 1px solid;
            display: inline-block;
        }
        .box1-1{
            background-color: rgb(144, 0, 0);
        }
        .box1-2{
            background-color: bisque;
        }
        .box1-2-1{
            height: 99%;
            border: 1px solid;
            border-radius: 50%;
            background-color: coral;
        }
        .box1-3{
            background-color: antiquewhite;
        }

        .box1-3-1, .box1-3-2{
            width: 50%;
            height: 50%;
        }
        .box1-3-1{
            background-color: green;
        }
        .box1-3-2{
            background-color: aquamarine;
        }
        .box1-4{
            background-image: url('img/list1.jpg');
        }

        .box2-1 > div{
            height: 25%;
        }
        .box2-1 > div:nth-child(1){
            background-color: blueviolet;
        }
        .box2-1 > div:nth-child(2){
            background-color: rgb(37, 76, 168);
        }
        .box2-1 > div:nth-child(3){
            background-color: rgb(38, 124, 166);
        }
        .box2-1 > div:nth-child(4){
            background-color: rgb(66, 132, 22);
        }
        .box2-2{
            text-align: center;
            line-height: 100px;
            vertical-align: top;
            font-weight: bold;
        }
        .box2-3 > div{
            display: inline-block;
            height: 100px;
        }
        .box2-3 > div:nth-child(1){
            width: 40%;
        }
        .box2-3 > div:nth-child(2){
            width: 60%;
        }

        .box2-3 > div > div:nth-child(1){
            height: 60%;
        }
        .box2-3 > div > div:nth-child(2){
            height: 40%;
        }

        .box2-3-1{
            background-color: blueviolet;
        }

        .box2-3-2{
            background-color: rgb(14, 102, 42);
        }
        .box2-3-3{
            background-color: rgb(191, 83, 34);
        }
        .box2-3-4{
            background-color: rgb(131, 157, 27);
        }

    </style>
</head>
<body>
    <section class="row row1">
        <div class="box box1-1"></div>
        <div class="box box1-2">
            <div class="box1-2-1"></div>
        </div>
        <div class="box box1-3">
            <div class="box1-3-1"></div>
            <div class="box1-3-2"></div>
        </div>
        <div class="box box1-4"></div>
    </section>
    <div class="row row2">
        <div class="box box2-1">
            <div class="box2-1-1"></div>
            <div class="box2-1-2"></div>
            <div class="box2-1-3"></div>
            <div class="box2-1-4"></div>
        </div>
        <div class="box box2-2">
            开发喵
        </div>
        <div class="box box2-3">
            <div class="box2-3-c1">
                <div class="box2-3-1"></div>
                <div class="box2-3-2"></div>
            </div><div class="box2-3-c2">
                <div class="box2-3-3"></div>
                <div class="box2-3-4"></div>
            </div>
            
            
        </div>
        <div class="box box2-4"></div>
    </div>
    
</body>
</html>